(window_min_size_2): New function.
authorMartin Rudalics <rudalics@gmx.at>
Sun, 15 Jul 2007 08:21:41 +0000 (08:21 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 15 Jul 2007 08:21:41 +0000 (08:21 +0000)
commit7775bb3de54b7a9babf20c9f5473bf1ffd178ce0
tree4a38df57edd196e385ab8bb9220d3cba96fc82c4
parent8249c52ba166536b5092160f9b7a8443c08497e4
(window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable.  Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
src/window.c